package com.chenbei.erp.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chenbei.erp.domain.Warehouse;
import com.chenbei.erp.vo.req.WarehouseReq;

public interface IWarehouseService extends IService<Warehouse> {

    /**
     * 新增仓库
     * @param Warehouse 仓库实例
     */
    void add(Warehouse Warehouse);

    /**
     * 更新仓库
     * @param Warehouse 仓库实例
     */
    void update(Warehouse Warehouse);

    /**
     * 分页列表
     * @param WarehouseReq 仓库查询实例
     * @return Page
     */
    Page<Warehouse> pageList(WarehouseReq WarehouseReq);

    /**
     * 删除
     * @param id 仓库ID
     */
    void deleteId(Long id);
}
